import axios from 'axios';

const apiClient = axios.create({
    baseURL: 'http://localhost:8080',
    headers: {
        'Content-Type': 'application/json',
    },
});

export default {
    sendUserCredentials(UserNo, UserPsw) {
        return apiClient.post('/login', {
            UserNo: UserNo,
            UserPsw: UserPsw
        });
    }
};